import Layout from '@/views/layout'

export default {
  path: '/oms',
  name: 'omsCenter',
  component: Layout,
  redirect: '/oms/manage',
  meta: {
    title: '订单管理',
    icon: 'nested',
    perm: 'm:oms',
    sort: 1
  },
  children: [
    {
      path: '/oms/manage',
      name: 'omsManage',
      component: () => import('@/views/oms/list'),
      meta: {
        title: '订单列表',
        icon: 'nested',
        perm: 'm:oms:manage'
      }
    }
    // {
    //   path: '/oms/manage',
    //   name: 'omsManage',
    //   component: () => import('@/views/oms/review'),
    //   meta: {
    //     title: '订单评价',
    //     icon: 'nested',
    //     perm: 'm:oms:manage'
    //   }
    // }
  ]
}
